]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
16 years agoExit the overview when activating most items
Colin Walters [Thu, 3 Jun 2010 23:21:08 +0000 (19:21 -0400)]
Exit the overview when activating most items

In all the cases where we activate GNOME 2 UI, e.g. the shutdown
dialog, pop out of the overview.  Otherwise, it's fairly broken
since you won't see the result of your action.

https://bugzilla.gnome.org/show_bug.cgi?id=620525

16 years agoUpdated Galician translations
Fran Diéguez [Thu, 3 Jun 2010 21:35:02 +0000 (23:35 +0200)]
Updated Galician translations

16 years ago[lookingGlass] Fix scrolling in errorLog
Colin Walters [Thu, 3 Jun 2010 16:47:15 +0000 (12:47 -0400)]
[lookingGlass] Fix scrolling in errorLog

When setting line_wrap, we need to unset the ellipsization, otherwise
ClutterText won't do what we want.

16 years agoUpdated Hebrew translation.
Yaron Shahrabani [Thu, 3 Jun 2010 13:32:11 +0000 (16:32 +0300)]
Updated Hebrew translation.

16 years ago[ClockButton] Add a right-click menu to the clock
Florian Müllner [Sat, 8 May 2010 22:25:49 +0000 (00:25 +0200)]
[ClockButton] Add a right-click menu to the clock

The clock preferences are hardly discoverable, so allow launching
them from a right-click menu.

https://bugzilla.gnome.org/show_bug.cgi?id=600276

16 years ago[overview] Fix dnd on mulit screen setups
Adel Gadllah [Wed, 2 Jun 2010 16:38:31 +0000 (18:38 +0200)]
[overview] Fix dnd on mulit screen setups

Currently we don't get any drop events for dual screen modes with a screen
at the right, and behave weird by hardcoding the screen size and 0 as drag
edges.

Fix that by spawning the drop group over the whole stage and take the primary monitors position and size into account in _handleDragOver.

https://bugzilla.gnome.org/show_bug.cgi?id=620378

16 years ago[StEntry] Consider children when setting hover state
Florian Müllner [Tue, 25 May 2010 13:45:51 +0000 (15:45 +0200)]
[StEntry] Consider children when setting hover state

When hovering over the entry's ClutterText, the entry itself
currently receives a leave event and updates the hover state.
Apply the same logic as StWidget itself to treat children as
part of the entry.

https://bugzilla.gnome.org/show_bug.cgi?id=620381

16 years agoAdded Indonesian translation
Andika Triwidada [Mon, 31 May 2010 12:46:11 +0000 (19:46 +0700)]
Added Indonesian translation
Added id into LINGUAS

16 years ago[lookingGlass] Don't connect multiple times to the "unmanaged" signal
Adel Gadllah [Sun, 30 May 2010 20:48:41 +0000 (22:48 +0200)]
[lookingGlass] Don't connect multiple times to the "unmanaged" signal

16 years agoAdd ISO week dates to the calendar
Raphael Bosshard [Thu, 27 May 2010 07:31:46 +0000 (09:31 +0200)]
Add ISO week dates to the calendar

This patch adds ISO week dates to the calendar. Week dates are an
often used feature in business and government offices. Can be turned
on through gconf, off by default.

https://bugzilla.gnome.org/show_bug.cgi?id=603532

16 years agoUpdated Polish translation
Piotr Drąg [Thu, 27 May 2010 21:18:56 +0000 (23:18 +0200)]
Updated Polish translation

16 years ago[workspaceSwitcher] Display on primary monitor
Adel Gadllah [Thu, 27 May 2010 17:57:08 +0000 (19:57 +0200)]
[workspaceSwitcher] Display on primary monitor

Display it only on the primary monitor to be consistent with other
elements like the appSwitcher, messageTray and the overview.

https://bugzilla.gnome.org/show_bug.cgi?id=619854

16 years ago[appSwitcher] Display on primary monitor
Adel Gadllah [Thu, 27 May 2010 17:52:49 +0000 (19:52 +0200)]
[appSwitcher] Display on primary monitor

Displaying it on the focused monitor seems to confuse users so revert back to
using the primary monitor as per designer's request.

https://bugzilla.gnome.org/show_bug.cgi?id=619854

16 years ago[linearView] Zoom out when dragging an item from the dash
Florian Müllner [Sat, 8 May 2010 14:06:28 +0000 (16:06 +0200)]
[linearView] Zoom out when dragging an item from the dash

When dragging windows in linear view, the workspace zooms out to
allow moving the window to other workspaces. Enable the same
behaviour for items dragged from the dash.

https://bugzilla.gnome.org/show_bug.cgi?id=618055

16 years ago[linearView] Fix dnd to dash when zoomed out
Florian Müllner [Thu, 20 May 2010 14:13:27 +0000 (16:13 +0200)]
[linearView] Fix dnd to dash when zoomed out

While zoomed out, the workspaces view's drop target spans the entire
monitor to implement reactive screen edges. When a drop event is not
handled by the view, an attempt is made to pass it on down the stack,
but it doesn't work properly. Fix it by iterating the target's parents
as well.
Also improve the code which translates dnd coordinates to target
positions.

https://bugzilla.gnome.org/show_bug.cgi?id=619203

16 years ago[perf] Write UTC dates into performance logs
Owen W. Taylor [Wed, 26 May 2010 20:53:20 +0000 (16:53 -0400)]
[perf] Write UTC dates into performance logs

Instead of writing a local date without a timezone, write a UTC
date with a trailing Z.

16 years ago[chrome] Ignore fullscreen flag when in overview
Adel Gadllah [Wed, 26 May 2010 20:14:00 +0000 (22:14 +0200)]
[chrome] Ignore fullscreen flag when in overview

Ignore the fullscreen flag when we are in the overview,
otherwise we might up not showing actors like the panel even though
they have visibleInOverview set to true.

https://bugzilla.gnome.org/show_bug.cgi?id=619693

16 years ago[perf] replace frame count with accurately computed frame rate
Owen W. Taylor [Mon, 24 May 2010 14:27:13 +0000 (10:27 -0400)]
[perf] replace frame count with accurately computed frame rate

Compute a frame rate for the period between:

 - User sees first frame of overview animation
 - User sees fully zoomed-out overview

And replace the current Frames count metrics with this. The
previous frame count metrics were actually over the period from
the start of the animation until the window labels finished
animating in; here we are careful to look at a more restricted
period.

https://bugzilla.gnome.org/show_bug.cgi?id=619521

16 years ago[perf] Add glx.swapComplete event
Owen W. Taylor [Mon, 24 May 2010 13:52:25 +0000 (09:52 -0400)]
[perf] Add glx.swapComplete event

Add an event when we receive an event on buffer swap completion; we'll
only get this if Clutter is using the INTEL_swap_event GLX extension,
but it's useful to see the actual timing of video frames.

The recorded event includes the actual timestamp of the swap, since
we are given that in the GLX event - on my system it tends to be
consistently 80-100us before we log the event, but if something was
going wrong in event handling (too much synchronous work), then that
could could show up as a longer delay.

https://bugzilla.gnome.org/show_bug.cgi?id=619516

16 years ago[perf] add tweener.framePrepareStart/Done events
Owen W. Taylor [Mon, 24 May 2010 13:48:41 +0000 (09:48 -0400)]
[perf] add tweener.framePrepareStart/Done events

Add events when we start preparing a frame and finish preparing
a frame. (In addition to measuring property-updating overhead, this allows
us to see the interval between finishing preparing a frame and starting
painting the frame, which is the relayout time.)

https://bugzilla.gnome.org/show_bug.cgi?id=619515

16 years ago[dnd] Optionally restore the drag actor
Florian Müllner [Thu, 20 May 2010 14:44:45 +0000 (16:44 +0200)]
[dnd] Optionally restore the drag actor

Currently, the drag and drop code assumes that on a successful drop
the target will either consume the drag actor or that it is otherwise
OK to destroy the actor.
As the drag behavior for window preview was changed, dropping a preview
on the dash now results in the preview being swallowed - to fix, add an
option to restore the actor in case of a successful drop as well.

https://bugzilla.gnome.org/show_bug.cgi?id=619203

16 years ago[panel] Hide application menu in overview
Florian Müllner [Wed, 12 May 2010 21:30:14 +0000 (23:30 +0200)]
[panel] Hide application menu in overview

The activities overview is not a place where we expect users to
interact with a specific application, so showing the application
menu there is misleading.

https://bugzilla.gnome.org/show_bug.cgi?id=618479

16 years ago[StThemeNode] Make shadows respect paint opacity
Florian Müllner [Wed, 19 May 2010 13:09:19 +0000 (15:09 +0200)]
[StThemeNode] Make shadows respect paint opacity

Currently shadows disregard the overall opacity, so e.g. setting
an ancestor's opacity does not effect the shadow. Fix this by
deferring the setting of the shadow's color until it is painted.
Also move duplicated drawing code from st_theme_node_paint() into
its own function.

https://bugzilla.gnome.org/show_bug.cgi?id=619083

16 years ago[StWidget] Clean up private member variables
Florian Müllner [Tue, 18 May 2010 18:51:44 +0000 (20:51 +0200)]
[StWidget] Clean up private member variables

When moving the drawing code into StThemeNode, most private members
of StWidget became obsolete, so remove them.

https://bugzilla.gnome.org/show_bug.cgi?id=619025

16 years ago[clockPreferences] Fix translations
Florian Müllner [Mon, 17 May 2010 12:03:47 +0000 (14:03 +0200)]
[clockPreferences] Fix translations

The preference dialog for the panel clock does not set its gettext
domain, so it's not translated even if though translations are
already available.
Fix by setting the domain in the GtkBuilder file and binding the
domain to the locale directory.

https://bugzilla.gnome.org/show_bug.cgi?id=618873

16 years agoUse St.Group where appropriate
Florian Müllner [Mon, 22 Mar 2010 00:39:49 +0000 (01:39 +0100)]
Use St.Group where appropriate

There are some places in the code where we use both fixed positioning
and CSS. Currently we use either a combination of ClutterGroup and StBin,
or we uses StBoxLayout with fixed positioning. Replace those with the new
StGroup container.

https://bugzilla.gnome.org/show_bug.cgi?id=613907

16 years ago[StGroup] Respect CSS sizing in size requests
Florian Müllner [Fri, 14 May 2010 14:07:19 +0000 (16:07 +0200)]
[StGroup] Respect CSS sizing in size requests

Currently the size of an StGroup depends exclusively on the group's
children - it should be possible to override this behaviour with
fixed values in the CSS.

https://bugzilla.gnome.org/show_bug.cgi?id=613907

16 years agoUpdate versions for 2.31.2
Owen W. Taylor [Tue, 25 May 2010 19:12:22 +0000 (15:12 -0400)]
Update versions for 2.31.2

Update the GNOME Shell version to 2.31.2, and make corresponding
updates to dependencies:

 clutter => 1.2.8
 mutter => 2.31.2
 gobject-introspection => 0.6.11
 gjs => 0.7

16 years agoUpdated Spanish translation
Jorge González [Tue, 25 May 2010 16:31:50 +0000 (18:31 +0200)]
Updated Spanish translation

16 years ago[StTable] Align children to integral positions
Colin Walters [Tue, 25 May 2010 15:21:07 +0000 (11:21 -0400)]
[StTable] Align children to integral positions

Like the other St widgets, ensure we position children at integrals.

https://bugzilla.gnome.org/show_bug.cgi?id=619623

16 years ago[StTable] Clamp children to integral positions
Colin Walters [Tue, 25 May 2010 15:00:50 +0000 (11:00 -0400)]
[StTable] Clamp children to integral positions

16 years ago[panel] Ellipsize long application titles, don't push clock around
Colin Walters [Tue, 25 May 2010 14:21:22 +0000 (10:21 -0400)]
[panel] Ellipsize long application titles, don't push clock around

First, simply set the ellipsize flag on the application menu labels.
Next, rework how we lay out the panel components so that the center
box is always centered and constrains the left and right, rather
than pushing it around.

Previously, as part of making the shell not obviously explode if
one had a lot of tray icons, we allowed them to push the clock over.
Instead, go back to just failing in this case; we need to exile legacy
tray icons, not be slightly less ugly.

https://bugzilla.gnome.org/show_bug.cgi?id=592640

16 years agoDo not fail if json Python module is not available
Frédéric Péters [Tue, 25 May 2010 14:31:15 +0000 (16:31 +0200)]
Do not fail if json Python module is not available

Fallback to old simplejson module if present, and options that require
the json module (create extension and performance) if absent.

https://bugzilla.gnome.org/show_bug.cgi?id=619580

16 years agoupdating for punjabi
A S Alam [Tue, 25 May 2010 14:02:44 +0000 (19:32 +0530)]
updating for punjabi

16 years ago[panel] fix alignment of app menu label
Dan Winship [Tue, 25 May 2010 13:34:01 +0000 (09:34 -0400)]
[panel] fix alignment of app menu label

we were aligning the top of the shadow with the top of the other labels,
rather than aligning the label itself

https://bugzilla.gnome.org/show_bug.cgi?id=618793

16 years ago[appSwitcher] Remove unneeded workaround
Adel Gadllah [Mon, 24 May 2010 14:52:38 +0000 (16:52 +0200)]
[appSwitcher] Remove unneeded workaround

SwitcherList.actor is no longer a St.BoxLayout but a
GenericContainer now, so the hack in AppSwitcher._getPreferredHeight is no
longer needed (it is called with the correct width now).

https://bugzilla.gnome.org/show_bug.cgi?id=613194

16 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 24 May 2010 14:29:32 +0000 (16:29 +0200)]
Updated Norwegian bokmål translation

16 years ago[perf] Fix factor of ten in seconds => microseconds conversion
Owen W. Taylor [Mon, 24 May 2010 04:08:00 +0000 (00:08 -0400)]
[perf] Fix factor of ten in seconds => microseconds conversion

Typo: 10000000 instead of 1000000 for a million. Also, use
G_INT64_CONSTANT instead of LL for a 64-bit constant, to avoid
extraneous 128-bit arithmetic on 64-bit machines.

16 years agoFix "make distcheck" - add missing reference for scripting.js - properly add js/perf/*
Rico Tzschichholz [Fri, 21 May 2010 11:06:21 +0000 (13:06 +0200)]
Fix "make distcheck" - add missing reference for scripting.js - properly add js/perf/*

https://bugzilla.gnome.org/show_bug.cgi?id=619276

16 years agoCall shell_global_maybe_gc() when no work is being done
Adel Gadllah [Fri, 21 May 2010 21:25:41 +0000 (23:25 +0200)]
Call shell_global_maybe_gc() when no work is being done

Call shell_global_maybe_gc when idle when no other work is ongoing to free
up memory and improve performance by preventing the GC to kick in at less
convenient times.

See: https://developer.mozilla.org/en/SpiderMonkey/JSAPI_Reference/JS_MaybeGC

https://bugzilla.gnome.org/show_bug.cgi?id=614725

16 years agoshell-global: Add shell_global_maybe_gc
Adel Gadllah [Sat, 3 Apr 2010 10:48:18 +0000 (12:48 +0200)]
shell-global: Add shell_global_maybe_gc

Add a method to call JS_MaybeGC, see
https://developer.mozilla.org/en/SpiderMonkey/JSAPI_Reference/JS_MaybeGC

https://bugzilla.gnome.org/show_bug.cgi?id=614725

16 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 21 May 2010 18:03:38 +0000 (20:03 +0200)]
Updated Slovenian translation

16 years ago[perf] Add --perf-upload option to gnome-shell
Owen W. Taylor [Fri, 21 May 2010 12:45:14 +0000 (08:45 -0400)]
[perf] Add --perf-upload option to gnome-shell

Add a command line option to upload the generated performance report
to a web service. The options for the upload (url, system name, secret
key) are read from ~/.config/gnome-shell/perf.ini.

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years ago[perf] Include monitor layout in performance reports
Owen W. Taylor [Tue, 18 May 2010 23:13:56 +0000 (19:13 -0400)]
[perf] Include monitor layout in performance reports

Add extra key, 'monitors' to performance reports which is an
array of strings:

 *<width>x<height>+<x>+<y>

Where * marks the primary monitor.

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years agoAdd units to metrics definitions
Owen W. Taylor [Mon, 17 May 2010 18:04:09 +0000 (14:04 -0400)]
Add units to metrics definitions

Switch from having separate METRICS and METRIC_DESCRIPTIONS objects
in a perf module to a single METRICS array. This is done so the
perf module can define the units for each metric.

In addition to improving the output in the web interface, the purpose
of having units is to give some clue about how to pick from multiple
values from different runs. In particular, with the assumption that
"noise" on the system will increase run times, for time values we want
to pick the smallest values, while for "rate" values, we want to pick
the largest value.

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years agoAdd an option to dump a complete performance report
Owen W. Taylor [Wed, 12 May 2010 22:14:14 +0000 (18:14 -0400)]
Add an option to dump a complete performance report

Add --perf-output=<filename> option to gnome-shell that combines
the reports written for each run by the C/Javascript code into
a complete report.

If this option is not specified, a brief human-readable summary
is printed to stdout instead.

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years agoDump a complete report from a performance run, as JSON
Owen W. Taylor [Wed, 12 May 2010 21:24:52 +0000 (17:24 -0400)]
Dump a complete report from a performance run, as JSON

When SHELL_PERF_OUTPUT is set, instead of just dumping out the metrics, dump
a more complete report with:

 - Event descriptions
 - Metric descriptions and value
 - Event log

Helper functions shell_perf_log_dump_events() and shell_perf_log_dump_log()
are added to ShellPerfLog to support this. The gnome-shell wrapper is adapted
to deal with the changed report format.

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years agoAdd shell_write_string_to_stream()
Owen W. Taylor [Wed, 12 May 2010 21:19:20 +0000 (17:19 -0400)]
Add shell_write_string_to_stream()

Add a helper function to write a string as UTF-8 to a GOutputStream.
The signature of GOutputStream:

 gboolean g_output_stream_write_all (GOutputStream *stream,
                                     const void *buffer,
                                     gsize count,
                                     gsize *bytes_written,
                                     GCancellable *cancellable,
                                     GError **error);

Can't currently be handled by GJS.

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years agoAllow running multiple iterations of a performance test
Owen W. Taylor [Tue, 11 May 2010 22:08:50 +0000 (18:08 -0400)]
Allow running multiple iterations of a performance test

Add gnome-shell options:

  --perf-iters=ITERS"
    Numbers of iterations of performance module to run
  --perf-warmup
    Run a dry run before performance tests

Make a successful run of a performance test return 0 not non-zero,
and handle the difference between that and a 0-exit in normal
usage (meaning replaced) in the wrapper.

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years agoMove shell-running machinery to a function
Owen W. Taylor [Tue, 11 May 2010 20:43:38 +0000 (16:43 -0400)]
Move shell-running machinery to a function

Move the code that starts gnome-shell and waits for it to exit
to a function in preparation for running it multiple times when
doing iterations of a performance test.

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years agoAdd simple malloc statistics and metrics
Owen W. Taylor [Tue, 11 May 2010 19:53:55 +0000 (15:53 -0400)]
Add simple malloc statistics and metrics

Add some basic statistics for allocated memory based on mallinfo(),
and use that to define two metrics:

 usedAfterOverview: bytes used after the overview is shown once
 leakedAfterOverview: additional bytes used when the overview is
   shown a second time.

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years agoAdd "statistics" functionality to ShellPerfLog
Owen W. Taylor [Tue, 11 May 2010 19:48:47 +0000 (15:48 -0400)]
Add "statistics" functionality to ShellPerfLog

Add a facility for defining and recording numeric statistics
as performance events

 shell_perf_log_define_statistic()
   Define a statistic and the corresponding event type
 shell_perf_log_update_statistic_[ix]() -
   Update the stored statistic value
 shell_perf_log_add_statistics_callback()
   Add a function called before collecting statistics
 shell_perf_collect_statistics()
   Update statistics and record events for them

In addition to the explicit collection, statistics are
recorded at a periodic interval (currently 5s)

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years agoAdd a facility for automated performance measurement
Owen W. Taylor [Sun, 9 May 2010 17:42:35 +0000 (13:42 -0400)]
Add a facility for automated performance measurement

We want to be able to summarize the behavior of the shell's
performance in a series of "metrics", like the latency between
clicking on the Activities button and seeing a response.

This patch adds the ability to create a script under perf/
in a special format that automates a series of actions in the
shell, writing events to the performance log, then collects
statistics as the log as replayed and turns them into a set
of metrics.

The script is then executed by running as gnome-shell
--perf=<script>.

The 'core' script which is added here will be the primary
performance measurement script that we use for shell performance
regression testing; right now it has a couple of placeholder
metrics.

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years agoAdd events before and after stage paint
Owen W. Taylor [Sun, 9 May 2010 17:24:13 +0000 (13:24 -0400)]
Add events before and after stage paint

Add performance events:

 clutter.stagePageStart
 clutter.stagePageDone

to track frame repaints.

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years agoAdd ShellPerfLog
Owen W. Taylor [Sun, 9 May 2010 17:17:13 +0000 (13:17 -0400)]
Add ShellPerfLog

ShellPerfLog provides a way for different parts of the code to
record information for subsequent analysis and interactive
exploration. Events exist of a timestamp, an event ID, and
arguments to the event.

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years agoAdd "leisure function" capability
Owen W. Taylor [Sun, 9 May 2010 04:34:15 +0000 (00:34 -0400)]
Add "leisure function" capability

To support scheduling performance-measurement scripts that want to run
a number of actions in series, add shell_global_run_at_leisure() to run
a callback when all work is finished.

The initial implementation of this is not that accurate: we track
business in Tweener.js via new shell_global_begin_work(),
shell_global_end_work() functions, and we also handle the case
where the main loop is continually busy.

https://bugzilla.gnome.org/show_bug.cgi?id=618189

16 years ago[ShellAppSystem] Don't crash if the menu system is empty
Colin Walters [Thu, 20 May 2010 21:06:30 +0000 (17:06 -0400)]
[ShellAppSystem] Don't crash if the menu system is empty

This is a bit pathological, but if your menu tree is empty, we
shouldn't crash.

16 years ago[main] Explicitly require the Clutter and Gtk versions we want
Colin Walters [Thu, 20 May 2010 20:42:40 +0000 (16:42 -0400)]
[main] Explicitly require the Clutter and Gtk versions we want

By default introspection will use "latest", which blows up with
Gtk3.

16 years agoAdd a hack to block calls to certain introspected functions
Dan Winship [Fri, 26 Mar 2010 20:38:03 +0000 (16:38 -0400)]
Add a hack to block calls to certain introspected functions

This is useful for keeping people from using methods that only fail in
certain circumstances, by making them fail in all circumstances
instead.

https://bugzilla.gnome.org/show_bug.cgi?id=618918

16 years agochanged 'y_fill' of '_clockButton' in panel to false
Christian Schramm [Wed, 19 May 2010 22:27:00 +0000 (00:27 +0200)]
changed 'y_fill' of '_clockButton' in panel to false

The clock appeared to high compared to the activities button
or the login name. Might be just me though.

https://bugzilla.gnome.org/show_bug.cgi?id=619144

16 years ago[panel] fix button corners: they should only be rounded on the top
Dan Winship [Thu, 20 May 2010 16:05:22 +0000 (12:05 -0400)]
[panel] fix button corners: they should only be rounded on the top

16 years ago[panel] fix nested-queue_relayout warning in menus
Dan Winship [Wed, 19 May 2010 17:50:39 +0000 (13:50 -0400)]
[panel] fix nested-queue_relayout warning in menus

We don't need to reposition the menu every time its button is
allocated; we can just stick it in the right place when we pop it up
(which is guaranteed to not be during a layout cycle).

(This means that now we won't reposition the menu if the button
moves/resizes while the menu is already popped up, but it's not clear
that we'd want it to anyway, since that could easily result in the
user selecting the wrong item, etc.)

Also, we don't need to override the menu's width any more, so remove
that.

https://bugzilla.gnome.org/show_bug.cgi?id=619113

16 years ago[telepathy] fix a bug in a last-second fix to the notification changes
Dan Winship [Wed, 19 May 2010 20:52:34 +0000 (16:52 -0400)]
[telepathy] fix a bug in a last-second fix to the notification changes

https://bugzilla.gnome.org/show_bug.cgi?id=619044

16 years agominor js cleanups
Dan Winship [Wed, 19 May 2010 17:26:41 +0000 (13:26 -0400)]
minor js cleanups

add missing semicolons pointed out by js2-mode, add missing emacs
modelines, fix a few tabs that crept in via cut+paste

16 years ago[panel] add keyboard navigation of menus
Dan Winship [Tue, 18 May 2010 17:15:19 +0000 (13:15 -0400)]
[panel] add keyboard navigation of menus

https://bugzilla.gnome.org/show_bug.cgi?id=619008

16 years ago[panel] separate "active" state from hover state in PanelBaseMenuItem
Dan Winship [Tue, 18 May 2010 17:23:41 +0000 (13:23 -0400)]
[panel] separate "active" state from hover state in PanelBaseMenuItem

When doing keyboard navigation, the active menu item may not be the
one under the mouse.

https://bugzilla.gnome.org/show_bug.cgi?id=619008

16 years ago[panel] split out a PanelBaseMenuItem class
Dan Winship [Tue, 18 May 2010 17:14:38 +0000 (13:14 -0400)]
[panel] split out a PanelBaseMenuItem class

Make the existing PanelMenuItem, PanelSeparatorMenuItem,
PanelImageMenuItem inherit from it.

https://bugzilla.gnome.org/show_bug.cgi?id=619008

16 years agoCombination of updates to match design suggestions
Colin Walters [Wed, 12 May 2010 21:07:41 +0000 (17:07 -0400)]
Combination of updates to match design suggestions

* Align the icons inside text
* Add application name to Quit
* Fade in/out the menu
* Drop some padding around the edges
* Add padding around the separators
* Use a gradient for separators

https://bugzilla.gnome.org/show_bug.cgi?id=618460

16 years agoUpdated German translation
Mario Blättermann [Tue, 18 May 2010 20:08:28 +0000 (22:08 +0200)]
Updated German translation

16 years ago[panel] add some missing semicolons
Dan Winship [Tue, 18 May 2010 17:16:24 +0000 (13:16 -0400)]
[panel] add some missing semicolons

16 years agomagnifier: use global.get_pointer instead of gdk_window_get_pointer
Dan Winship [Mon, 17 May 2010 18:44:24 +0000 (14:44 -0400)]
magnifier: use global.get_pointer instead of gdk_window_get_pointer

(qv https://bugzilla.gnome.org/show_bug.cgi?id=597292)

https://bugzilla.gnome.org/show_bug.cgi?id=618915

16 years agoUpdated French translation
Claude Paroz [Mon, 17 May 2010 18:24:47 +0000 (20:24 +0200)]
Updated French translation

16 years agoRemove markup from translatable strings
Claude Paroz [Mon, 17 May 2010 18:24:33 +0000 (20:24 +0200)]
Remove markup from translatable strings

16 years agoRework compare to take into account closed windows
Colin Walters [Tue, 11 May 2010 15:55:33 +0000 (11:55 -0400)]
Rework compare to take into account closed windows

The API docs for ShellApp claimed it sorted by the last time the
user interacted with the app, but if one closed a window, then
we would fall back to comparing against a possibly much older
timestamp from another window.  Fix this by just keeping a
user time per app.

Also clean up the comparison function to explicitly check the state
instead of deferring to the window list.

https://bugzilla.gnome.org/show_bug.cgi?id=618378

16 years agoAllow selection of individual windows
Colin Walters [Thu, 6 May 2010 17:36:01 +0000 (13:36 -0400)]
Allow selection of individual windows

Per design discussion, change things back so that when choosing
an individual window, we raise only that window.  However
when we select an application, raise all windows.

A behavioral change required to clearly differentiate these
is that when the window thumbnail list is popped up, it no
longer has the first window selected by default.  Therefore
the user has to explicitly press the down arrow or use the
mouse to enter individual window selection mode.

https://bugzilla.gnome.org/show_bug.cgi?id=617959

16 years agoCreate ShellGlobal later to avoid connecting to X during build
Colin Walters [Tue, 11 May 2010 14:35:27 +0000 (10:35 -0400)]
Create ShellGlobal later to avoid connecting to X during build

The ShellGlobal initialization performs several actions like connecting
to the X server, ensuring directories exist, etc., that are problematic
because we were creating the object even when running the binary for
introspection scanning.  During compilation we may not even have X11
available in e.g. autobuilder type environments, and it's just a
bad idea to connect even if we do.

Avoid this by deferring creation of the ShellGlobal object
until the plugin is actually started.

Now that we're initializing things later, remove the connection to
screen changes, and initialize cached ShellGlobal state at the point
when the plugin is set.  The root pixmap actor is now sized initially
on creation too.  Instead of relying on screen-size-changed being
emitted on startup, explicitly invoke _relayout().

https://bugzilla.gnome.org/show_bug.cgi?id=618371

16 years agoTelepathyClient: show notifications for presence changes
Dan Winship [Fri, 16 Apr 2010 21:24:34 +0000 (17:24 -0400)]
TelepathyClient: show notifications for presence changes

Fetch the names of the user's "subscribed" contacts, and use the
SimplePresence interface to watch for available/away/busy/etc messages
and create notifications for them.

Currently we display notifications when switching between "available"
and "offline"/"extended away", but when switching between "available"
and "away"/"busy" we just add the information to the chat window
without popping up a notification, to avoid spamming the user with
"Bob's screensaver activated" messages.

https://bugzilla.gnome.org/show_bug.cgi?id=611613

16 years agoTelepathyClient: track added/removed accounts
Dan Winship [Tue, 11 May 2010 17:00:55 +0000 (13:00 -0400)]
TelepathyClient: track added/removed accounts

(prep work for presence tracking)

https://bugzilla.gnome.org/show_bug.cgi?id=611613

16 years agoTelepathyClient: rename AvatarManager to ContactManager
Dan Winship [Tue, 11 May 2010 16:26:00 +0000 (12:26 -0400)]
TelepathyClient: rename AvatarManager to ContactManager

and belated rename info.token to info.tokens

https://bugzilla.gnome.org/show_bug.cgi?id=611613

16 years agoTelepathyClient: Simplify the channel filter specifications
Dan Winship [Fri, 16 Apr 2010 19:18:32 +0000 (15:18 -0400)]
TelepathyClient: Simplify the channel filter specifications

https://bugzilla.gnome.org/show_bug.cgi?id=611613

16 years ago[lookingGlass] Remove Properties tab, replace with popup object inspector
Colin Walters [Sat, 15 May 2010 16:43:56 +0000 (12:43 -0400)]
[lookingGlass] Remove Properties tab, replace with popup object inspector

Make inspecting objects more dynamic by turning them into links which
pops up a dialog, rather than the more clunky tab interaction.

16 years agoUpdated German translation
Mario Blättermann [Sun, 16 May 2010 19:05:05 +0000 (21:05 +0200)]
Updated German translation

16 years agoUpdated Spanish translation
Jorge González [Sun, 16 May 2010 09:00:38 +0000 (11:00 +0200)]
Updated Spanish translation

16 years ago[po] Add type annotation to GtkBuilder files
Florian Müllner [Sat, 15 May 2010 21:24:59 +0000 (23:24 +0200)]
[po] Add type annotation to GtkBuilder files

Due to missing intltool support, translatable strings in the
clock preferences dialog are not added to the pot file.

16 years agoUpdated Arabic translation
Khaled Hosny [Sat, 15 May 2010 20:40:19 +0000 (23:40 +0300)]
Updated Arabic translation

16 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 14 May 2010 19:53:53 +0000 (21:53 +0200)]
Updated Slovenian translation

16 years agoDon't use double quotes for things that don't need to be translated
Marina Zhurakhinskaya [Thu, 13 May 2010 19:46:04 +0000 (15:46 -0400)]
Don't use double quotes for things that don't need to be translated

This is our convention.

The only exceptions are double quotes for words in comments that give
them a special meaning (though beware that these quotes are not truly
necessary most of the time) and double quotes that need to be a part
of the output string.

16 years agoUpdated Spanish translation
Jorge González [Thu, 13 May 2010 19:14:48 +0000 (21:14 +0200)]
Updated Spanish translation

16 years agoDon't add a new workspace when the maximum workspaces limit is reached
Marina Zhurakhinskaya [Thu, 13 May 2010 18:29:00 +0000 (14:29 -0400)]
Don't add a new workspace when the maximum workspaces limit is reached

It was previously possible to add a workspace above the maximum workspaces
limit by dragging an item to the "add workspace" button or using the middle
mouse button click.

Provide the user with feedback in the info bar when it is not possible to create
a new workspace or remove the current workspace.

https://bugzilla.gnome.org/show_bug.cgi?id=591645

16 years agoMake the workspace added on the middle mouse button click active
Marina Zhurakhinskaya [Wed, 12 May 2010 19:19:40 +0000 (15:19 -0400)]
Make the workspace added on the middle mouse button click active

This ensures that we launch the new instance of an application on the newly
added workspace in the grid view, in which we don't make the newly added
workspace active by default.

https://bugzilla.gnome.org/show_bug.cgi?id=591645

16 years agoDon't treat min-width and min-height as a fixed size
Colin Walters [Wed, 12 May 2010 20:50:36 +0000 (16:50 -0400)]
Don't treat min-width and min-height as a fixed size

I have no idea why there existed code that if we saw e.g. min-width
without a width, we assigned min-width to ->width, thus effectively
treating it as a maximum.

Just delete that bit.

https://bugzilla.gnome.org/show_bug.cgi?id=618482

16 years ago[panel] PanelImageMenuItem should follow gtk-menu-show-images
Colin Walters [Wed, 12 May 2010 15:45:58 +0000 (11:45 -0400)]
[panel] PanelImageMenuItem should follow gtk-menu-show-images

Update statusMenu to always show images for the presence items only.

https://bugzilla.gnome.org/show_bug.cgi?id=618438

16 years agoAlways hide the info bar after a short timeout
Marina Zhurakhinskaya [Wed, 12 May 2010 20:31:36 +0000 (16:31 -0400)]
Always hide the info bar after a short timeout

We no longer want to keep the info bar showing for as long as the user is
in the overview. We also want a shorter timeout.

16 years agoAdd a new way to open an application on a new workspace
Christina Boumpouka [Wed, 14 Apr 2010 20:22:41 +0000 (23:22 +0300)]
Add a new way to open an application on a new workspace

Allow using the middle mouse button to open a new instance of an
application on a new workspace. The middle mouse button function
can be achieved by clicking the left and right mouse buttons
together with a two buttons mouse or holding Ctrl while clicking
with a single button mouse.

https://bugzilla.gnome.org/show_bug.cgi?id=591645

16 years agoUpdated Slovenian translation
Matej Urbančič [Wed, 12 May 2010 12:36:55 +0000 (14:36 +0200)]
Updated Slovenian translation

16 years agoUse gdk_screen_get_primary_monitor on gtk-2.20.1+
Adel Gadllah [Wed, 12 May 2010 07:35:32 +0000 (09:35 +0200)]
Use gdk_screen_get_primary_monitor on gtk-2.20.1+

Starting with gtk-2.20.0 there is a gdk_screen_get_primary_monitor,
which supports querying the primary monitor from xrandr.

But due to a sorting bug and lack of heuristics in the fallback path,
it isn't really useable.

Those bugs are fixed in gtk-2.20.1, so use it when building with
gtk-2.20.1+.

https://bugzilla.gnome.org/show_bug.cgi?id=608647

16 years agoSt: fix allocation to not use both wfh and hfw
Dan Winship [Tue, 11 May 2010 18:46:26 +0000 (14:46 -0400)]
St: fix allocation to not use both wfh and hfw

Passing an explicit width in the wfh case or a height in the hfw case
messes up the request caching, and confuses actors that assume they
won't be called with an explicit width/height unless they're being
allocated along the other axis.

https://bugzilla.gnome.org/show_bug.cgi?id=618295

16 years agoAdd shell-xfixes-cursor.[ch]
Colin Walters [Tue, 11 May 2010 19:03:11 +0000 (15:03 -0400)]
Add shell-xfixes-cursor.[ch]

Also missing somehow from the magnification commit.

16 years agoAdd missing magnifier files from the last commit
Colin Walters [Tue, 11 May 2010 19:00:07 +0000 (15:00 -0400)]
Add missing magnifier files from the last commit

Also, this patch differs from the one in Bugzilla
in that we start/stop tracking the mouse depending
on whether the magnifier is active.

16 years agoAdds magnifier functionality to gnome-shell.
Joseph Scheuhammer [Mon, 10 May 2010 16:40:03 +0000 (12:40 -0400)]
Adds magnifier functionality to gnome-shell.

Adds the ability to create one or more zoom regions that show magnified or
enhanced views of the desktop.  The magnifier provides options for:
* magnification factor,
* four mouse tracking modes common to screen magnifiers,
* positioning the magnified view in one of four screen location, or full screen,
* crosshairs to accentuate the position of the mouse,
* user preferences persistence via GConf (schemas in
  .../data/gnome-shell.schemas).
* a DBus API to allow other processes to drive the magnifier as a service.

https://bugzilla.gnome.org/show_bug.cgi?id=595507